import request from '@/utils/request'

// 查询资产信息列表
export function listAssetsinformation(query) {
  return request({
    url: '/assets/assetsinformation/list',
    method: 'get',
    params: query
  })
}

// 查询资产信息详细
export function getAssetsinformation(AssetsInformationID) {
  return request({
    url: '/assets/assetsinformation/' + AssetsInformationID,
    method: 'get'
  })
}

// 新增资产信息
export function addAssetsinformation(data) {
  return request({
    url: '/assets/assetsinformation',
    method: 'post',
    data: data
  })
}

// 修改资产信息
export function updateAssetsinformation(data) {
  return request({
    url: '/assets/assetsinformation',
    method: 'put',
    data: data
  })
}

// 删除资产信息
export function delAssetsinformation(AssetsInformationID) {
  return request({
    url: '/assets/assetsinformation/' + AssetsInformationID,
    method: 'delete'
  })
}
